From 60b24b3d5951e159d09f42ed766c404e4b1acc4e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 11 Feb 2023 00:38:55 -0800 Subject: invoice type toggle --- .../(app)/[username]/invoice/[hash]/+page.svelte | 43 ++++++++++++++++++++-- .../[username]/payments/[...page]/+page.svelte | 12 +++--- .../[username]/receive/[...param]/+page.svelte | 5 --- 3 files changed, 45 insertions(+), 15 deletions(-) (limited to 'src/routes/(app)/[username]') diff --git a/src/routes/(app)/[username]/invoice/[hash]/+page.svelte b/src/routes/(app)/[username]/invoice/[hash]/+page.svelte index ad9721e7..b5571f23 100644 --- a/src/routes/(app)/[username]/invoice/[hash]/+page.svelte +++ b/src/routes/(app)/[username]/invoice/[hash]/+page.svelte @@ -1,12 +1,14 @@
+
+ + + +
{:else if p.with} - -
-
- -
-
{p.with.username}
+
+
+
-
+
{p.with.username}
+
{:else if p.type === types.classic} {amount ? $t('payments.next') : $t('payments.sendersChoice')} - -
- {type[0].toUpperCase() + type.substring(1, type.length)} - -
-- cgit v1.2.3